@echo off
echo Downloading Bootstrap and jQuery for Sport Mall...

set DEST_CSS=src\main\webapp\static\css
set DEST_JS=src\main\webapp\static\js
set DEST_IMAGES=src\main\webapp\static\images

echo Creating directories if they don't exist...
if not exist %DEST_CSS% mkdir %DEST_CSS%
if not exist %DEST_JS% mkdir %DEST_JS%
if not exist %DEST_IMAGES% mkdir %DEST_IMAGES%

echo Downloading Bootstrap CSS...
curl -o %DEST_CSS%\bootstrap.min.css https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css

echo Downloading Bootstrap JS...
curl -o %DEST_JS%\bootstrap.bundle.min.js https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js

echo Downloading jQuery...
curl -o %DEST_JS%\jquery.min.js https://code.jquery.com/jquery-3.6.0.min.js

echo Downloading Font Awesome CSS...
curl -o %DEST_CSS%\font-awesome.min.css https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css

echo Creating sample image placeholders...
copy NUL %DEST_IMAGES%\category-default.jpg
copy NUL %DEST_IMAGES%\product-default.jpg
copy NUL %DEST_IMAGES%\banner1.jpg
copy NUL %DEST_IMAGES%\banner2.jpg
copy NUL %DEST_IMAGES%\banner3.jpg
copy NUL %DEST_IMAGES%\empty-cart.png

echo Download completed! Please replace placeholder images with real ones.
pause 